3.6.35 \(\int \frac {c+d x+e x^2+f x^3}{x^2 \sqrt {a+b x^4}} \, dx\) [535]

Optimal. Leaf size=309 \[ -\frac {c \sqrt {a+b x^4}}{a x}+\frac {\sqrt {b} c x \sqrt {a+b x^4}}{a \left (\sqrt {a}+\sqrt {b} x^2\right )}+\frac {f \tanh ^{-1}\left (\frac {\sqrt {b} x^2}{\sqrt {a+b x^4}}\right )}{2 \sqrt {b}}-\frac {d \tanh ^{-1}\left (\frac {\sqrt {a+b x^4}}{\sqrt {a}}\right )}{2 \sqrt {a}}-\frac {\sqrt [4]{b} c \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{a^{3/4} \sqrt {a+b x^4}}+\frac {\left (\sqrt {b} c+\sqrt {a} e\right ) \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{2 a^{3/4} \sqrt [4]{b} \sqrt {a+b x^4}} \]

[Out]

-1/2*d*arctanh((b*x^4+a)^(1/2)/a^(1/2))/a^(1/2)+1/2*f*arctanh(x^2*b^(1/2)/(b*x^4+a)^(1/2))/b^(1/2)-c*(b*x^4+a)
^(1/2)/a/x+c*x*b^(1/2)*(b*x^4+a)^(1/2)/a/(a^(1/2)+x^2*b^(1/2))-b^(1/4)*c*(cos(2*arctan(b^(1/4)*x/a^(1/4)))^2)^
(1/2)/cos(2*arctan(b^(1/4)*x/a^(1/4)))*EllipticE(sin(2*arctan(b^(1/4)*x/a^(1/4))),1/2*2^(1/2))*(a^(1/2)+x^2*b^
(1/2))*((b*x^4+a)/(a^(1/2)+x^2*b^(1/2))^2)^(1/2)/a^(3/4)/(b*x^4+a)^(1/2)+1/2*(cos(2*arctan(b^(1/4)*x/a^(1/4)))
^2)^(1/2)/cos(2*arctan(b^(1/4)*x/a^(1/4)))*EllipticF(sin(2*arctan(b^(1/4)*x/a^(1/4))),1/2*2^(1/2))*(e*a^(1/2)+
c*b^(1/2))*(a^(1/2)+x^2*b^(1/2))*((b*x^4+a)/(a^(1/2)+x^2*b^(1/2))^2)^(1/2)/a^(3/4)/b^(1/4)/(b*x^4+a)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.15, antiderivative size = 309, normalized size of antiderivative = 1.00, number of steps used = 13, number of rules used = 12, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {1847, 1296, 1212, 226, 1210, 1266, 858, 223, 212, 272, 65, 214} \begin {gather*} \frac {\left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} \left (\sqrt {a} e+\sqrt {b} c\right ) F\left (2 \text {ArcTan}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{2 a^{3/4} \sqrt [4]{b} \sqrt {a+b x^4}}-\frac {\sqrt [4]{b} c \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} E\left (2 \text {ArcTan}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{a^{3/4} \sqrt {a+b x^4}}-\frac {c \sqrt {a+b x^4}}{a x}+\frac {\sqrt {b} c x \sqrt {a+b x^4}}{a \left (\sqrt {a}+\sqrt {b} x^2\right )}-\frac {d \tanh ^{-1}\left (\frac {\sqrt {a+b x^4}}{\sqrt {a}}\right )}{2 \sqrt {a}}+\frac {f \tanh ^{-1}\left (\frac {\sqrt {b} x^2}{\sqrt {a+b x^4}}\right )}{2 \sqrt {b}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(c + d*x + e*x^2 + f*x^3)/(x^2*Sqrt[a + b*x^4]),x]

[Out]

-((c*Sqrt[a + b*x^4])/(a*x)) + (Sqrt[b]*c*x*Sqrt[a + b*x^4])/(a*(Sqrt[a] + Sqrt[b]*x^2)) + (f*ArcTanh[(Sqrt[b]
*x^2)/Sqrt[a + b*x^4]])/(2*Sqrt[b]) - (d*ArcTanh[Sqrt[a + b*x^4]/Sqrt[a]])/(2*Sqrt[a]) - (b^(1/4)*c*(Sqrt[a] +
 Sqrt[b]*x^2)*Sqrt[(a + b*x^4)/(Sqrt[a] + Sqrt[b]*x^2)^2]*EllipticE[2*ArcTan[(b^(1/4)*x)/a^(1/4)], 1/2])/(a^(3
/4)*Sqrt[a + b*x^4]) + ((Sqrt[b]*c + Sqrt[a]*e)*(Sqrt[a] + Sqrt[b]*x^2)*Sqrt[(a + b*x^4)/(Sqrt[a] + Sqrt[b]*x^
2)^2]*EllipticF[2*ArcTan[(b^(1/4)*x)/a^(1/4)], 1/2])/(2*a^(3/4)*b^(1/4)*Sqrt[a + b*x^4])

Rule 65

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - a*(d/b) + d*(x^p/b))^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 212

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 214

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x/Rt[-a/b, 2]], x] /; FreeQ[{a, b},
x] && NegQ[a/b]

Rule 223

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rule 226

Int[1/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> With[{q = Rt[b/a, 4]}, Simp[(1 + q^2*x^2)*(Sqrt[(a + b*x^4)/(a*(
1 + q^2*x^2)^2)]/(2*q*Sqrt[a + b*x^4]))*EllipticF[2*ArcTan[q*x], 1/2], x]] /; FreeQ[{a, b}, x] && PosQ[b/a]

Rule 272

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 858

Int[((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))*((a_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Dist[g/e, Int[(d
+ e*x)^(m + 1)*(a + c*x^2)^p, x], x] + Dist[(e*f - d*g)/e, Int[(d + e*x)^m*(a + c*x^2)^p, x], x] /; FreeQ[{a,
c, d, e, f, g, m, p}, x] && NeQ[c*d^2 + a*e^2, 0] &&  !IGtQ[m, 0]

Rule 1210

Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[c/a, 4]}, Simp[(-d)*x*(Sqrt[a +
 c*x^4]/(a*(1 + q^2*x^2))), x] + Simp[d*(1 + q^2*x^2)*(Sqrt[(a + c*x^4)/(a*(1 + q^2*x^2)^2)]/(q*Sqrt[a + c*x^4
]))*EllipticE[2*ArcTan[q*x], 1/2], x] /; EqQ[e + d*q^2, 0]] /; FreeQ[{a, c, d, e}, x] && PosQ[c/a]

Rule 1212

Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[c/a, 2]}, Dist[(e + d*q)/q, Int
[1/Sqrt[a + c*x^4], x], x] - Dist[e/q, Int[(1 - q*x^2)/Sqrt[a + c*x^4], x], x] /; NeQ[e + d*q, 0]] /; FreeQ[{a
, c, d, e}, x] && PosQ[c/a]

Rule 1266

Int[(x_)^(m_.)*((d_) + (e_.)*(x_)^2)^(q_.)*((a_) + (c_.)*(x_)^4)^(p_.), x_Symbol] :> Dist[1/2, Subst[Int[x^((m
 - 1)/2)*(d + e*x)^q*(a + c*x^2)^p, x], x, x^2], x] /; FreeQ[{a, c, d, e, p, q}, x] && IntegerQ[(m + 1)/2]

Rule 1296

Int[((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^2)*((a_) + (c_.)*(x_)^4)^(p_), x_Symbol] :> Simp[d*(f*x)^(m + 1)*((a
 + c*x^4)^(p + 1)/(a*f*(m + 1))), x] + Dist[1/(a*f^2*(m + 1)), Int[(f*x)^(m + 2)*(a + c*x^4)^p*(a*e*(m + 1) -
c*d*(m + 4*p + 5)*x^2), x], x] /; FreeQ[{a, c, d, e, f, p}, x] && LtQ[m, -1] && IntegerQ[2*p] && (IntegerQ[p]
|| IntegerQ[m])

Rule 1847

Int[(Pq_)*((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Module[{q = Expon[Pq, x], j, k}, Int[
Sum[((c*x)^(m + j)/c^j)*Sum[Coeff[Pq, x, j + k*(n/2)]*x^(k*(n/2)), {k, 0, 2*((q - j)/n) + 1}]*(a + b*x^n)^p, {
j, 0, n/2 - 1}], x]] /; FreeQ[{a, b, c, m, p}, x] && PolyQ[Pq, x] && IGtQ[n/2, 0] &&  !PolyQ[Pq, x^(n/2)]

Rubi steps

\begin {align*} \int \frac {c+d x+e x^2+f x^3}{x^2 \sqrt {a+b x^4}} \, dx &=\int \left (\frac {c+e x^2}{x^2 \sqrt {a+b x^4}}+\frac {d+f x^2}{x \sqrt {a+b x^4}}\right ) \, dx\\ &=\int \frac {c+e x^2}{x^2 \sqrt {a+b x^4}} \, dx+\int \frac {d+f x^2}{x \sqrt {a+b x^4}} \, dx\\ &=-\frac {c \sqrt {a+b x^4}}{a x}+\frac {1}{2} \text {Subst}\left (\int \frac {d+f x}{x \sqrt {a+b x^2}} \, dx,x,x^2\right )-\frac {\int \frac {-a e-b c x^2}{\sqrt {a+b x^4}} \, dx}{a}\\ &=-\frac {c \sqrt {a+b x^4}}{a x}-\frac {\left (\sqrt {b} c\right ) \int \frac {1-\frac {\sqrt {b} x^2}{\sqrt {a}}}{\sqrt {a+b x^4}} \, dx}{\sqrt {a}}+\frac {1}{2} d \text {Subst}\left (\int \frac {1}{x \sqrt {a+b x^2}} \, dx,x,x^2\right )+\left (\frac {\sqrt {b} c}{\sqrt {a}}+e\right ) \int \frac {1}{\sqrt {a+b x^4}} \, dx+\frac {1}{2} f \text {Subst}\left (\int \frac {1}{\sqrt {a+b x^2}} \, dx,x,x^2\right )\\ &=-\frac {c \sqrt {a+b x^4}}{a x}+\frac {\sqrt {b} c x \sqrt {a+b x^4}}{a \left (\sqrt {a}+\sqrt {b} x^2\right )}-\frac {\sqrt [4]{b} c \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{a^{3/4} \sqrt {a+b x^4}}+\frac {\left (\sqrt {b} c+\sqrt {a} e\right ) \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{2 a^{3/4} \sqrt [4]{b} \sqrt {a+b x^4}}+\frac {1}{4} d \text {Subst}\left (\int \frac {1}{x \sqrt {a+b x}} \, dx,x,x^4\right )+\frac {1}{2} f \text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x^2}{\sqrt {a+b x^4}}\right )\\ &=-\frac {c \sqrt {a+b x^4}}{a x}+\frac {\sqrt {b} c x \sqrt {a+b x^4}}{a \left (\sqrt {a}+\sqrt {b} x^2\right )}+\frac {f \tanh ^{-1}\left (\frac {\sqrt {b} x^2}{\sqrt {a+b x^4}}\right )}{2 \sqrt {b}}-\frac {\sqrt [4]{b} c \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{a^{3/4} \sqrt {a+b x^4}}+\frac {\left (\sqrt {b} c+\sqrt {a} e\right ) \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{2 a^{3/4} \sqrt [4]{b} \sqrt {a+b x^4}}+\frac {d \text {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b x^4}\right )}{2 b}\\ &=-\frac {c \sqrt {a+b x^4}}{a x}+\frac {\sqrt {b} c x \sqrt {a+b x^4}}{a \left (\sqrt {a}+\sqrt {b} x^2\right )}+\frac {f \tanh ^{-1}\left (\frac {\sqrt {b} x^2}{\sqrt {a+b x^4}}\right )}{2 \sqrt {b}}-\frac {d \tanh ^{-1}\left (\frac {\sqrt {a+b x^4}}{\sqrt {a}}\right )}{2 \sqrt {a}}-\frac {\sqrt [4]{b} c \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{a^{3/4} \sqrt {a+b x^4}}+\frac {\left (\sqrt {b} c+\sqrt {a} e\right ) \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{2 a^{3/4} \sqrt [4]{b} \sqrt {a+b x^4}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains complex when optimal does not.
time = 11.32, size = 250, normalized size = 0.81 \begin {gather*} \frac {1}{2} \left (-\frac {2 c \sqrt {a+b x^4}}{a x}+\frac {f \tanh ^{-1}\left (\frac {\sqrt {b} x^2}{\sqrt {a+b x^4}}\right )}{\sqrt {b}}-\frac {d \tanh ^{-1}\left (\frac {\sqrt {a+b x^4}}{\sqrt {a}}\right )}{\sqrt {a}}\right )-\frac {i \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}} c \sqrt {1+\frac {b x^4}{a}} E\left (\left .i \sinh ^{-1}\left (\sqrt {\frac {i \sqrt {b}}{\sqrt {a}}} x\right )\right |-1\right )}{\sqrt {a+b x^4}}-\frac {\sqrt {\frac {i \sqrt {b}}{\sqrt {a}}} \left (-i \sqrt {b} c+\sqrt {a} e\right ) \sqrt {1+\frac {b x^4}{a}} F\left (\left .i \sinh ^{-1}\left (\sqrt {\frac {i \sqrt {b}}{\sqrt {a}}} x\right )\right |-1\right )}{\sqrt {b} \sqrt {a+b x^4}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(c + d*x + e*x^2 + f*x^3)/(x^2*Sqrt[a + b*x^4]),x]

[Out]

((-2*c*Sqrt[a + b*x^4])/(a*x) + (f*ArcTanh[(Sqrt[b]*x^2)/Sqrt[a + b*x^4]])/Sqrt[b] - (d*ArcTanh[Sqrt[a + b*x^4
]/Sqrt[a]])/Sqrt[a])/2 - (I*Sqrt[(I*Sqrt[b])/Sqrt[a]]*c*Sqrt[1 + (b*x^4)/a]*EllipticE[I*ArcSinh[Sqrt[(I*Sqrt[b
])/Sqrt[a]]*x], -1])/Sqrt[a + b*x^4] - (Sqrt[(I*Sqrt[b])/Sqrt[a]]*((-I)*Sqrt[b]*c + Sqrt[a]*e)*Sqrt[1 + (b*x^4
)/a]*EllipticF[I*ArcSinh[Sqrt[(I*Sqrt[b])/Sqrt[a]]*x], -1])/(Sqrt[b]*Sqrt[a + b*x^4])

________________________________________________________________________________________

Maple [C] Result contains complex when optimal does not.
time = 0.38, size = 241, normalized size = 0.78

method result size
elliptic \(-\frac {c \sqrt {b \,x^{4}+a}}{a x}+\frac {e \sqrt {1-\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \EllipticF \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )}{\sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}\, \sqrt {b \,x^{4}+a}}+\frac {f \ln \left (2 x^{2} \sqrt {b}+2 \sqrt {b \,x^{4}+a}\right )}{2 \sqrt {b}}+\frac {i \sqrt {b}\, c \sqrt {1-\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \left (\EllipticF \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )-\EllipticE \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )\right )}{\sqrt {a}\, \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}\, \sqrt {b \,x^{4}+a}}-\frac {d \arctanh \left (\frac {\sqrt {a}}{\sqrt {b \,x^{4}+a}}\right )}{2 \sqrt {a}}\) \(234\)
default \(\frac {f \ln \left (x^{2} \sqrt {b}+\sqrt {b \,x^{4}+a}\right )}{2 \sqrt {b}}+\frac {e \sqrt {1-\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \EllipticF \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )}{\sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}\, \sqrt {b \,x^{4}+a}}-\frac {d \ln \left (\frac {2 a +2 \sqrt {a}\, \sqrt {b \,x^{4}+a}}{x^{2}}\right )}{2 \sqrt {a}}+c \left (-\frac {\sqrt {b \,x^{4}+a}}{a x}+\frac {i \sqrt {b}\, \sqrt {1-\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \left (\EllipticF \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )-\EllipticE \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )\right )}{\sqrt {a}\, \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}\, \sqrt {b \,x^{4}+a}}\right )\) \(241\)
risch \(-\frac {c \sqrt {b \,x^{4}+a}}{a x}+\frac {i \sqrt {b}\, c \sqrt {1-\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \EllipticF \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )}{\sqrt {a}\, \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}\, \sqrt {b \,x^{4}+a}}-\frac {i \sqrt {b}\, c \sqrt {1-\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \EllipticE \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )}{\sqrt {a}\, \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}\, \sqrt {b \,x^{4}+a}}+\frac {f \ln \left (x^{2} \sqrt {b}+\sqrt {b \,x^{4}+a}\right )}{2 \sqrt {b}}+\frac {e \sqrt {1-\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \EllipticF \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )}{\sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}\, \sqrt {b \,x^{4}+a}}-\frac {d \ln \left (\frac {2 a +2 \sqrt {a}\, \sqrt {b \,x^{4}+a}}{x^{2}}\right )}{2 \sqrt {a}}\) \(299\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((f*x^3+e*x^2+d*x+c)/x^2/(b*x^4+a)^(1/2),x,method=_RETURNVERBOSE)

[Out]

1/2*f*ln(x^2*b^(1/2)+(b*x^4+a)^(1/2))/b^(1/2)+e/(I/a^(1/2)*b^(1/2))^(1/2)*(1-I/a^(1/2)*b^(1/2)*x^2)^(1/2)*(1+I
/a^(1/2)*b^(1/2)*x^2)^(1/2)/(b*x^4+a)^(1/2)*EllipticF(x*(I/a^(1/2)*b^(1/2))^(1/2),I)-1/2*d/a^(1/2)*ln((2*a+2*a
^(1/2)*(b*x^4+a)^(1/2))/x^2)+c*(-(b*x^4+a)^(1/2)/a/x+I*b^(1/2)/a^(1/2)/(I/a^(1/2)*b^(1/2))^(1/2)*(1-I/a^(1/2)*
b^(1/2)*x^2)^(1/2)*(1+I/a^(1/2)*b^(1/2)*x^2)^(1/2)/(b*x^4+a)^(1/2)*(EllipticF(x*(I/a^(1/2)*b^(1/2))^(1/2),I)-E
llipticE(x*(I/a^(1/2)*b^(1/2))^(1/2),I)))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x^3+e*x^2+d*x+c)/x^2/(b*x^4+a)^(1/2),x, algorithm="maxima")

[Out]

integrate((f*x^3 + x^2*e + d*x + c)/(sqrt(b*x^4 + a)*x^2), x)

________________________________________________________________________________________

Fricas [F]
time = 0.23, size = 40, normalized size = 0.13 \begin {gather*} {\rm integral}\left (\frac {\sqrt {b x^{4} + a} {\left (f x^{3} + e x^{2} + d x + c\right )}}{b x^{6} + a x^{2}}, x\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x^3+e*x^2+d*x+c)/x^2/(b*x^4+a)^(1/2),x, algorithm="fricas")

[Out]

integral(sqrt(b*x^4 + a)*(f*x^3 + e*x^2 + d*x + c)/(b*x^6 + a*x^2), x)

________________________________________________________________________________________

Sympy [C] Result contains complex when optimal does not.
time = 1.87, size = 128, normalized size = 0.41 \begin {gather*} \frac {f \operatorname {asinh}{\left (\frac {\sqrt {b} x^{2}}{\sqrt {a}} \right )}}{2 \sqrt {b}} + \frac {c \Gamma \left (- \frac {1}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{4}, \frac {1}{2} \\ \frac {3}{4} \end {matrix}\middle | {\frac {b x^{4} e^{i \pi }}{a}} \right )}}{4 \sqrt {a} x \Gamma \left (\frac {3}{4}\right )} - \frac {d \operatorname {asinh}{\left (\frac {\sqrt {a}}{\sqrt {b} x^{2}} \right )}}{2 \sqrt {a}} + \frac {e x \Gamma \left (\frac {1}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{4}, \frac {1}{2} \\ \frac {5}{4} \end {matrix}\middle | {\frac {b x^{4} e^{i \pi }}{a}} \right )}}{4 \sqrt {a} \Gamma \left (\frac {5}{4}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x**3+e*x**2+d*x+c)/x**2/(b*x**4+a)**(1/2),x)

[Out]

f*asinh(sqrt(b)*x**2/sqrt(a))/(2*sqrt(b)) + c*gamma(-1/4)*hyper((-1/4, 1/2), (3/4,), b*x**4*exp_polar(I*pi)/a)
/(4*sqrt(a)*x*gamma(3/4)) - d*asinh(sqrt(a)/(sqrt(b)*x**2))/(2*sqrt(a)) + e*x*gamma(1/4)*hyper((1/4, 1/2), (5/
4,), b*x**4*exp_polar(I*pi)/a)/(4*sqrt(a)*gamma(5/4))

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x^3+e*x^2+d*x+c)/x^2/(b*x^4+a)^(1/2),x, algorithm="giac")

[Out]

integrate((f*x^3 + x^2*e + d*x + c)/(sqrt(b*x^4 + a)*x^2), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {f\,x^3+e\,x^2+d\,x+c}{x^2\,\sqrt {b\,x^4+a}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c + d*x + e*x^2 + f*x^3)/(x^2*(a + b*x^4)^(1/2)),x)

[Out]

int((c + d*x + e*x^2 + f*x^3)/(x^2*(a + b*x^4)^(1/2)), x)

________________________________________________________________________________________